package informesistema;

import java.util.ArrayList;
import informesistema.*;
import java.lang.management.ManagementFactory;

public class LectorSistema {

    public LectorSistema() {
       
    }
   
   
public static void main(String[] args)
  {
      
      
       long memorySize = ((com.sun.management.OperatingSystemMXBean) ManagementFactory.getOperatingSystemMXBean()).getTotalPhysicalMemorySize();
         System.out.println("RAM Size="+memorySize+" Bytes");
       
  String nameOS = "user.name";  
  String versionOS = "os.version";  
  String architectureOS = "os.arch";
  System.out.println("\n  The information about OS");
  System.out.println("\nName of the OS: " + 
System.getProperty(nameOS));
  System.out.println("Version of the OS: " + 
System.getProperty(versionOS));
  System.out.println("Architecture of THe OS: " + 
System.getProperty(architectureOS));
  
  
  }

    
}
